#pragma once
#include <iostream>
#include "NetStruture.h"
#include "GraphElements.h"
#include "Graph.h"
#include "YenTopKShortestPathsAlg.h"
#include "DijkstraShortestPathAlg.h"
#include <algorithm>





using namespace std;

int main(){
	std::cout << "*******************************" << std::endl;
	NetStruture NS("NetLevels.txt", "NetGraph.txt", "SDFlows.txt","DataCenter.txt");
	std::cout << "Before Green Compute the consumption of power of the network is: "
		<< NS.compute_power() <<std::endl;
	std::cout << "*******************************" << std::endl;

	NS.green_network();

	std::cout << "*******************************" << std::endl;
	std::cout << "After Green Conpute the consumption of power of the network is:" 
		<< NS.compute_power() << std::endl;
	std::cout << "*******************************" << std::endl;
	getchar();
	return 0;
}

